﻿using System;

using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;

namespace em_crm
{
	[Activity(Label = "em_crm")]//, Icon = "@drawable/icon")]
	public class OrderFragment : Fragment
	{

		String tag = "LoanDetailFragment";

		/**
		 * The fragment argument representing the item IsD that this fragment
		 * represents.
		 */
		public static string ARG_ITEM_ID = "item_id";

		/**
		 * The dummy content this fragment is presenting.
		 */
		//private Order mItem;

		/**
		 * Mandatory empty constructor for the fragment manager to instantiate the
		 * fragment (e.g. upon screen orientation changes).
		 */
		public OrderFragment()
		{
		}

		public override void OnDestroy()
		{
			base.OnDestroy();
		}

		public override void OnActivityCreated(Bundle savedInstanceState)
		{

			base.OnActivityCreated(savedInstanceState);

		}

		public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
		{
			// Set our view from the "OrderFragment" layout resource
			return inflater.Inflate(Resource.Layout.OrderFragment, container, false);
		}

		public override void OnCreate(Bundle bundle)
		{
			base.OnCreate(bundle);


		}

		private void LoadingOrderData()
		{
			/// TODO: add the code to fill the view with this order data. 
		}
	}
}

